package com.night.icm.persistence.business.reporsitory;

import com.night.icm.persistence.business.entity.StudentCreditRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * StudentCreditRecordRepository
 *
 * @author Liao ZhiYong
 * @date 2020/3/20
 */
@Repository
public interface StudentCreditRecordRepository extends JpaRepository<StudentCreditRecord, Long>, JpaSpecificationExecutor<StudentCreditRecord> {

    StudentCreditRecord findByStudentCode(String studentCode);
}
